package com.utils.failureanalysis.data.dao;

import com.utils.failureanalysis.data.model.singleRecorder.AnalysisData;
import com.utils.failureanalysis.data.util.ExcelUtil;

import java.util.List;


public class ExcelDao {
    ExcelUtil excelUtil;

//    init ExcelUtil
    public ExcelDao() {
        this.excelUtil = new ExcelUtil();
    }

    public String outputToExcel(List<AnalysisData> analysisDataList) {

        return excelUtil.creatExcel(analysisDataList);
    }


}
